package com.chc.web.borrow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/04/22/17:38
 * @Description:
 */
@Data
@TableName("borrow")
public class Borrow implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //图书id
    private Long bookid;
    //读者id
    private Long readerid;
    //借书时间
    private String borrowtime;
    //还书时间
    private String returntime;
    //管理员id
    private Long adminid;
    //审核状态
    private Long state;

}
